Fix a bootstrapping problem without root windows
authorMatthias Clasen <mclasen@redhat.com>
Sat, 12 Aug 2017 13:36:49 +0000 (09:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 12 Aug 2017 13:42:19 +0000 (09:42 -0400)
commit124b790a77e4852544184971fc7ae248acae0713
tree510a679b90c46c5df93d4a68a6ce84ef500fa40d
parentd5e25be9bcd6c1a9db74ee749fa8808ba55a5ca5
Fix a bootstrapping problem without root windows

We create various windows during the initial creation of display
objects, which causes some bootstrapping issues when we try to
find the default screen to get its root window. To work around this,
pass the display object into gdk_window_new.

This is not an API change, since gdk_window_new is no longer public API.
gdk/gdkinternals.h
gdk/gdkwindow.c
gdk/wayland/gdkwindow-wayland.c